package com.weasel.weixin.commons.menu.builder;

/**跳转URL按键
 * Created by Dylan on 2015/10/9.
 */
public class ViewButtonBuilder extends AbstractButtonBuilder {

    public ViewButtonBuilder() {
        super("view");
    }

    public ViewButtonBuilder name(String name){
        button.setName(name);
        return this;
    }


    public ViewButtonBuilder url(String url){
        button.setUrl(url);
        return this;
    }
}
